<template>
	<van-button :disabled="disabled" custom-style="border-radius:30rpx;height:120rpx;font-size:40rpx" type="primary"
		color="linear-gradient(113deg, #2775E6 40%,#3998E9 59%)" block @click="onClick">{{props.text}}</van-button>
</template>
<script setup>
	import {
		onLoad
	} from '@dcloudio/uni-app'
	import {
		ref,
		reactive,
		defineProps,
		defineEmits
	} from 'vue'
	const emits = defineEmits(['onClick'])
	const props = defineProps({
		text: {
			type: String,
			default: '确定'
		},
		disabled:{
			type: Boolean,
			default:false
		}
	})

	//点击按钮
	const onClick = () => {
		emits('onClick')
	}
</script>

<style>

</style>